using Lokad.Quality;

namespace NCouch.Model
{
	[Immutable]
	public sealed class ErrorInfo
	{
		//{"error":"conflict","reason":"Document update conflict."}

		public readonly string Error;
		public readonly string Reason;

		public ErrorInfo(string error, string reason)
		{
			Error = error;
			Reason = reason;
		}
	}
}